package com.company._class01;

public class Person {
    public String name1;
    private String name;
    int age;
    private int age1;

    public void work(){
        System.out.println(name+"no work");
    }
    public static void work1(){
        System.out.println("no work");
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
